Managing build dependencies
How to check what is installed on builders
Prerequisites:
- Checkout
github.com/Juniper/contrail-windows-ci
repository. - Enter
ansible/
directory. - Prepare your ansible runner environment by going through steps described in
README.md
. - Log into Jenkins
- Inspect every builder node and note its IP address
- Create inventory file for [builder] group, that contains their IPs:
[windows:children]
builder
[builder]
10.84.12.A
10.84.12.B
10.84.12.C
...
Check version of psget package:
Run the following command:
ansible builder -i inventory --vault-password-file ~/ansible-vault-key -m win_shell -a "Get-Package -Name PSScriptAnalyzer | Select -Expand Version"
Check versions of chocolatey packages:
Run the following command:
ansible builder -i inventory --vault-password-file ~/ansible-vault-key -m win_shell -a "choco list --local-only"